
package com.hsxc.cdz.mgmt;

import com.hsxc.cdz.base.util.ApplicationUtil;
import com.hsxc.cdz.biz.reserve.CacheReservManager;
import com.hsxc.cdz.biz.reserve.ReservManager;
import com.hsxc.cdz.mgmt.pile.CachePileManager;
import com.hsxc.cdz.mgmt.pile.PileManager;
import com.hsxc.cdz.mgmt.station.StationManager;
import com.hsxc.cdz.mgmt.user.MyUserManager;
import com.hsxc.cdz.mgmt.user.UserManager;
import com.hsxc.cdz.trans.bill.BillManager;
import com.hsxc.cdz.trans.bill.TradeManager;

import java.util.Timer;

public class GlobalManager {
	public static PileManager pileRegister = (PileManager) ApplicationUtil.getBean("pileManager");
	public static CachePileManager pileManager = new CachePileManager();
	public static StationManager stationManager = (StationManager) ApplicationUtil.getBean("stationManager");
	public static TradeManager tradeManager = new TradeManager();
	public static BillManager billManager = (BillManager) ApplicationUtil.getBean("billManager");
	public static ReservManager reservManager = (ReservManager) ApplicationUtil.getBean("reservManager");
	public static CacheReservManager cacheReservManager = new CacheReservManager();
	public static MyUserManager myUserManager = (MyUserManager) ApplicationUtil.getBean("myUserManager");
	public static UserManager consoleUserManager = (UserManager) ApplicationUtil.getBean("userManager");
	//Timer
	public static Timer timer = new Timer();

}
